package posecco.client;

import posecco.shared.FieldUtil;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.FlowPanel;

public class RFCEdit extends FlowPanel {

	//remote service
	//private final RFCEditServiceAsync rfcService = GWT.create(RFCEditService.class);
	
	final FieldUtil fieldUtil = new FieldUtil();

	public RFCEdit() {
		fieldUtil.addFormTextField(this, "summary");
		fieldUtil.addFormTextField(this, "description");
		fieldUtil.addFormTextField(this, "status");
		fieldUtil.addFormTextField(this, "owner");
		fieldUtil.addFormTextField(this, "initiator");
		fieldUtil.addFormTextField(this, "priority");
		final Button sendButton = new Button("Send");
		add(sendButton);
	}
}
